package com.platform.qujia.utils.yunHua;

import lombok.Data;

@Data
public class YunHuaSyncUser {
    private String mobilePhone;

    private String id;

    private String systemId;

    private String platformId;

    private String sign;


    public  String toBeforeRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"id\": \""+getId()+"\",\n" +
                "    \"mobilePhone\": \""+getMobilePhone()+"\",\n" +
                "    \"signType\":  \"SHA256\"\n" +
                "}";

        return  mm;
    }

    public  String toRequest(){

        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"sign\": \""+getSign()+"\",\n" +
                "    \"id\": \""+getId()+"\",\n" +
                "    \"mobilePhone\": \""+getMobilePhone()+"\",\n" +
                "    \"signType\":  \"SHA256\"\n" +
                "}";

        return  mm;
    }

}
